//
//  ZZCollectionView.m
//  zhengzai-tv
//
//  Created by 孙超 on 15/11/9.
//  Copyright © 2015年 zhengzai.tv. All rights reserved.
//

#import "ZZCollectionView.h"
#import "UIView+ColorPointAndMask.h"

@implementation ZZCollectionView

- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event
{
    BOOL result = [super pointInside:point withEvent:event];
    
    if (!self.isIgnoreTouchInTransparentPoint) {
        return result;
    }
    
    if (result) {
        return ![self isTansparentOfPoint:point];
    }
    return NO;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
